<?php

$host = $_SERVER['DOCUMENT_ROOT'];
//$host = 'G:/Program Files/Zend/Apache2/htdocs/localcms';
//require_once $host.'/Zend/Db.php';
require_once 'Zend/Db.php';
//require_once 'config.php';
require_once $host.'/config.php';
$params = array ('host'     => SQL_HOST,
                 'username' => SQL_USER,
                 'password' => SQL_PASSWORD,
                 'dbname'   => SQL_NAME,
				 'charset' => "cp1251");
$db = Zend_Db::factory('PDO_MYSQL', $params);
$db->getConnection();

?>